package com.xes.rabbitmq.core.enums;

import lombok.Getter;

/**
 * 消息状态枚举
 */
@Getter
public enum MessageStatusEunm {

    SENDING((byte) 0, "发送中"), SUCCESS((byte) 1, "投送成功"), FAIL((byte) 2, "投送失败");

    private Byte value;
    private String desc;

    private MessageStatusEunm(Byte value, String desc) {
        this.value = value;
        this.desc = desc;
    }

}
